package com.ruoyi.project.naming.namesample.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 起名样例对象 name_sample
 *
 * @author shixiangwen
 * @date 2022-07-28
 */
public class NameSample extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 名字
     */
    @Excel(name = "名字")
    private String name;

    /**
     * 诗句ID
     */
    @Excel(name = "诗句ID")
    private Long sentenceId;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    private String sentence;
    private String book;

    /**
     * 书籍ID
     */
    @Excel(name = "书籍ID")
    private Long bookId;

    /**
     * 性别类型
     */
    @Excel(name = "性别类型")
    private Integer sex;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSentenceId(Long sentenceId) {
        this.sentenceId = sentenceId;
    }

    public Long getSentenceId() {
        return sentenceId;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Long getBookId() {
        return bookId;
    }

    public String getSentence() {
        return sentence;
    }

    public void setSentence(String sentence) {
        this.sentence = sentence;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("name", getName()).append("sentenceId", getSentenceId()).append("status", getStatus()).append("bookId", getBookId()).toString();
    }
}
